package com.j2ee.service.impl;

import com.j2ee.service.BussinessService;

public class BussinessServiceImpl implements BussinessService{

	public void add() {
		int i = 0 ;
		if(i == 0){
			throw new RuntimeException() ;
		} 
		System.out.println("调用了BussinessServiceImpl的add()方法");
	}

	public void edit() {
		System.out.println("调用了BussinessServiceImpl的edit()方法");
	}

	public void delete() {
		System.out.println("调用了BussinessServiceImpl的delete()方法");
	}

	public Object find() {
		System.out.println("调用了BussinessServiceImpl的find()方法");
		return null;
	}
	
	

}
